package com.mkh.st.admin.api.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "数据权限查询返回对象")
public class DataPermissionVO implements Serializable {

	private static final long serialVersionUID = 158625643032762571L;

	@ApiModelProperty(value="当前角色id")
	private Long roleId;

	@ApiModelProperty(value="是否有全部公司权限")
	private Boolean companyAll=false;

	@ApiModelProperty(value="公司id集合")
	private List<Long> companyList;

	@ApiModelProperty(value="是否有全部子站点权限")
	private Boolean siteAll=false;

	@ApiModelProperty(value="子站点id集合")
	private List<Long> siteList;

	@ApiModelProperty(value="是否有全部供应商权限")
	private Boolean supplierAll=false;

	@ApiModelProperty(value="供应商id集合")
	private List<Long> supplierList;

	@ApiModelProperty(value="是否有全部用户权限")
	private Boolean userAll=false;

	@ApiModelProperty(value="用户id集合")
	private List<Long> userList;


	@ApiModelProperty(value="是否有全部采购组权限")
	private Boolean purchaseAll=false;

	@ApiModelProperty(value="采购组id集合")
	private List<Long> purchaseList;

	@ApiModelProperty(value="是否有全部客户权限")
	private Boolean customerAll=false;

	@ApiModelProperty(value="客户id集合")
	private List<Long> customerList;

	@ApiModelProperty(value="是否有全部仓库权限")
	private Boolean warehouseAll=false;

	@ApiModelProperty(value="仓库id集合")
	private List<Long> warehouseList;

}
